﻿@charset "UTF-8";
/*
 * blueimp Gallery CSS
 * https://github.com/blueimp/Gallery
 *
 * Copyright 2013, Sebastian Tschan
 * https://blueimp.net
 *
 * Licensed under the MIT license:
 * https://opensource.org/licenses/MIT
 */

$color_1: #fff;
$background_color_1: #fff;
$border_color_1: #fff;

.blueimp-gallery {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
    backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    position: fixed;
    z-index: 999999;
    overflow: hidden;
    background: #000;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    display: none;
    direction: ltr;

    > .slides {
        > .slide {
            touch-action: pinch-zoom !important;
            > .slide-content {
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                -webkit-transition: opacity 0.2s linear;
                -moz-transition: opacity 0.2s linear;
                -o-transition: opacity 0.2s linear;
                transition: opacity 0.2s linear;
                backface-visibility: hidden;
                -moz-backface-visibility: hidden;
                margin: auto;
                width: auto;
                height: auto;
                max-width: 100%;
                max-height: 100%;
                opacity: 1;
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
            }

            position: relative;
            float: left;
            height: 100%;
            text-align: center;
            -webkit-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
            -moz-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
            -o-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
            transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
        }

        position: relative;
        height: 100%;
        overflow: hidden;

        > .slide-loading {
            background-size: 64px 64px;

            > .slide-content {
                opacity: 0;
            }
        }

        > .slide-error {
            background: url(../Content/images/error.svg) center no-repeat;

            > .slide-content {
                display: none;
            }
        }
    }

    > .prev {
        position: absolute;
        top: 50%;
        left: 15px;
        margin-top: -23px;
        font-size: 15px;
        font-weight: 100;
        line-height: 15px;
        color: $color_1 !important;
        text-decoration: none;
        opacity: 0.9;
        cursor: pointer;
        display: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;

        &:hover {
            color: $color_1 !important;
            opacity: 1;
        }
    }

    > .next {
        position: absolute;
        top: 50%;
        left: 15px;
        margin-top: -23px;
        font-size: 15px;
        font-weight: 100;
        line-height: 15px;
        color: $color_1 !important;
        text-decoration: none;
        opacity: 0.9;
        cursor: pointer;
        display: none;
        left: auto;
        right: 15px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;

        &:hover {
            color: $color_1 !important;
            opacity: 1;
        }
    }

    > .close {
        position: absolute;
        top: 15px;
        left: 15px;
        margin: 0 40px 0 0;
        font-size: 20px;
        line-height: 30px;
        color: $color_1 !important;
        text-shadow: 0 0 2px #000;
        opacity: 0.8;
        display: none;
        padding: 15px;
        right: 15px;
        left: auto;
        margin: -15px;
        font-size: 30px;
        text-decoration: none;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;

        &:hover {
            color: $color_1 !important;
            opacity: 1;
        }
    }

    > .title {
        position: absolute;
        top: 15px;
        left: 15px;
        margin: 0 40px 0 0;
        font-size: 20px;
        line-height: 30px;
        color: $color_1 !important;
        text-shadow: 0 0 2px #000;
        opacity: 0.8;
        display: none;

        &:hover {
            color: $color_1 !important;
            opacity: 1;
        }
    }

    > .play-pause {
        position: absolute;
        right: 15px;
        bottom: 15px;
        width: 15px;
        height: 15px;
        background: url(../Content/images/play-pause.png) 0 0 no-repeat;
        cursor: pointer;
        opacity: 0.8;
        display: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;

        &:hover {
            color: $color_1 !important;
            opacity: 1;
        }
    }

    > .indicator {
        position: absolute;
        top: auto;
        right: 15px;
        bottom: 15px;
        left: 15px;
        margin: 0 40px;
        padding: 0;
        list-style: none;
        text-align: center;
        line-height: 10px;
        display: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;

        > li {
            display: inline-block;
            width: 9px;
            height: 9px;
            margin: 6px 3px 0 3px;
            -webkit-box-sizing: content-box;
            -moz-box-sizing: content-box;
            box-sizing: content-box;
            border: 1px solid transparent;
            background: #ccc;
            background: rgba(255, 255, 255, 0.25) center no-repeat;
            border-radius: 5px;
            box-shadow: 0 0 2px #000;
            opacity: 0.5;
            cursor: pointer;

            &:hover {
                background-color: $background_color_1;
                border-color: $border_color_1;
                opacity: 1;

                &:after {
                    opacity: 1;
                    border-radius: 50%;
                    background: inherit;
                    transform: translateX(-50%) translateY(-5px) translateZ(0px);
                }
            }

            &:after {
                opacity: 0;
                display: block;
                position: absolute;
                content: '';
                top: -5em;
                width: 75px;
                height: 75px;
                transition: transform 600ms ease-out, opacity 400ms ease-out;
                transform: translateX(-50%) translateY(0) translateZ(0px);
                pointer-events: none;
            }
        }

        > .active {
            background-color: $background_color_1;
            border-color: $border_color_1;
            opacity: 1;

            &:after {
                display: none;
            }
        }
    }
}

.blueimp-gallery-carousel {
    position: relative;
    z-index: auto;
    margin: 1em auto;
    padding-bottom: 56.25%;
    box-shadow: 0 0 10px #000;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    > .slides

{
    position: absolute;
}

}

.blueimp-gallery-display {
    display: block;
    opacity: 1;
}

.blueimp-gallery-playing {
    > .play-pause

{
    background-position: -15px 0;
}

}

.blueimp-gallery-controls {
    > .prev

{
    display: block;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

> .next {
    display: block;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

> .close {
    display: block;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

> .title {
    display: block;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

> .play-pause {
    display: block;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

> .indicator {
    display: block;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

}

.blueimp-gallery-single {
    > .prev

{
    display: none;
}

> .next {
    display: none;
}

> .play-pause {
    display: none;
}

> .indicator {
    display: none;
}

}

.blueimp-gallery-left {
    > .prev

{
    display: none;
}

}

.blueimp-gallery-right {
    > .next

{
    display: none;
}

}

body {
    &:last-child

{
    .blueimp-gallery

{
    > .play-pause

{
    width: 20px;
    height: 20px;
    background-size: 40px 20px;
    background-image: url(../Content/images/play-pause.svg);
}

}

.blueimp-gallery-playing {
    > .play-pause

{
    background-position: -20px 0;
}

}
}
}
